﻿using System;
namespace Producers.Doc.Xtee.Riik.Ee.Producer.Doc {
    
    
    public class SmallDressSizeType : global::Producers.Doc.Xtee.Riik.Ee.Producer.Doc.DressSizeType {
        
        public static bool TryParse(string value, out global::Producers.Doc.Xtee.Riik.Ee.Producer.Doc.SmallDressSizeType result) {
            try {
                result = new global::Producers.Doc.Xtee.Riik.Ee.Producer.Doc.SmallDressSizeType(value);
                return true;
            }
            catch (System.Exception ex) {
                result = null;
                return false;
            }
        }
        
        public static implicit operator Decimal (SmallDressSizeType value) {
            return value.Value;
        }
        
        public static implicit operator SmallDressSizeType (decimal value) {
            return new SmallDressSizeType(value);
        }
    }
}
